<?php

namespace apiend\models;

use common\helpers\Url;

/**
 * APP文档帮助模型
 * 
 * @author emhome <emhome@163.com>
 * @since 1.0
 */
class SystemHelpSearch extends \common\models\help\Help {

    /**
     * 列表查询
     * @return array
     */
    public function search() {
        return static::find()->andWhere(['!=', 'system', ''])->all();
    }

    public function fields() {
        return [
            'id',
            'name' => 'system',
            'title',
            'link',
        ];
    }

}
